import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import main from './main.css';
import { HashRouter as Router, Route } from 'react-router-dom';
import store from './store/store';
import { Provider } from 'react-redux';
import { TabBarExample } from './components';
import 'antd-mobile/dist/antd-mobile.css';
export default class Index extends Component {
  render() {
    return (
      <Provider store={store}>
        <Router>
          <div>
            <Route path="/" component={TabBarExample} />
          </div>
        </Router>
      </Provider>
    );
  }
}
ReactDOM.render(<Index />, document.getElementById('app'));
